Skip to content

Commit

Permalink
proper exception catch in GQHypocs
Browse files Browse the repository at this point in the history
  • Loading branch information
xspanger3770 committed Nov 12, 2023
1 parent 949ca65 commit e533617
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class GQHypocs {
} else {
Logger.warn("CUDA not loaded, earthquake parameters will be calculated on the CPU");
}
} catch(Exception e){
} catch(Exception | UnsatisfiedLinkError e) {
Logger.warn("Failed to load or init CUDA: %s".formatted(e.getMessage()));
}

Expand Down

0 comments on commit e533617

Please sign in to comment.