Skip to content

Commit

Permalink
Fix crash if host DNS not available
Browse files Browse the repository at this point in the history
  • Loading branch information
Kieaer committed Jan 31, 2024
1 parent 114fbc7 commit 31198da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/essentials/Trigger.kt
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ object Trigger {
host.port = port
listener.accept(host)
}
} catch (e : SocketTimeoutException) {
} catch (e : Exception) {
listener.accept(Host(0, null, null, null, 0, 0, 0, null, null, 0, null, null))
}
}
Expand Down

0 comments on commit 31198da

Please # to comment.