commit 06c883bed1300b4bf8f729b5c1fe40c5a22a8af4
parent f1b70a535701667a535b5542803b1848c11b0d71
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Fri, 13 Mar 2020 19:04:17 +0100
ghp: handle 404 errors
Former-commit-id: 7fa82cfc5db9997e8f78dacf92a6fa4773b18047
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/scripts/ghp b/scripts/ghp
@@ -46,6 +46,7 @@ class Page
str = "#{@name}: #{@status}"
str += ", #{@updated_at}" unless @updated_at.nil?
str += ", #{@error}" unless @error.nil?
+ str += "not found" if @code == 404
str += "."
end
end