Skip to content

Commit

Permalink
Graceful handling of crash rather than throwing exception
Browse files Browse the repository at this point in the history
  • Loading branch information
JonSnowbd committed May 16, 2018
1 parent 305329e commit 5d38abd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified Build/Imgurandom.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion Imgurandom/ViewModelMethods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public void FindNextImage(object _s, object _e)
return;
}
}
throw new Exception("There might be an issue or a change in IMGUR's URLs, please wait and try again.");
AddNewURL("https://i.imgur.com/HI137JZ.png");
}
}
}

0 comments on commit 5d38abd

Please sign in to comment.