Skip to content

Commit c6f28a2

Browse files
committed
Fix generic error handling and cover 500 case
1 parent 4a248ae commit c6f28a2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

gh-program-downloader

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,11 @@ validate_response_code() {
148148
404)
149149
title='Server reported resource not found'
150150
;;
151+
500)
152+
title='Server reported internal error'
153+
;;
151154
*)
152-
title=Unexpected http response code
155+
title='Unexpected http response code'
153156
;;
154157
esac
155158
(

0 commit comments

Comments
 (0)