Skip to content

Commit

Permalink
Switch servlet exception handling from Throwable to Exception
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrjacobs committed May 2, 2017
1 parent 6b316fc commit b46a563
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public void onNext(String sampleDataAsString) {
moreDataWillBeSent.set(false);
}
writer.flush();
} catch (Throwable t) {
} catch (Exception ex) {
moreDataWillBeSent.set(false);
}
}
Expand All @@ -170,7 +170,7 @@ public void onNext(String sampleDataAsString) {
moreDataWillBeSent.set(false);
}
writer.flush();
} catch (Throwable t) {
} catch (Exception ex) {
moreDataWillBeSent.set(false);
}
}
Expand Down

0 comments on commit b46a563

Please sign in to comment.