Skip to content

Commit 5d38abd

Browse files
committed
Graceful handling of crash rather than throwing exception
1 parent 305329e commit 5d38abd

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Build/Imgurandom.exe

-512 Bytes
Binary file not shown.

Imgurandom/ViewModelMethods.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public void FindNextImage(object _s, object _e)
166166
return;
167167
}
168168
}
169-
throw new Exception("There might be an issue or a change in IMGUR's URLs, please wait and try again.");
169+
AddNewURL("https://i.imgur.com/HI137JZ.png");
170170
}
171171
}
172172
}

0 commit comments

Comments
 (0)