Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions shard.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: sentry
version: 0.3.1
version: 0.3.2

authors:
- Sam Eaton <[email protected]>
crystal: 0.27.0
crystal: 0.34.0
license: ISC
4 changes: 2 additions & 2 deletions src/sentry.cr
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,11 @@ module Sentry
file_changed = true if (app_process && !app_process.terminated?)
end
end
rescue ex : Errno
rescue ex
# The underlining lib for reading directories will fail very rarely, crashing Sentry
# This catches that error and allows Sentry to carry on normally
# https://github.com/crystal-lang/crystal/blob/59788834554399f7fe838487a83eb466e55c6408/src/errno.cr#L37
unless ex.to_s == "readdir: Input/output error"
unless ex.message == "readdir: Input/output error"
raise ex
end
end
Expand Down