Skip to content

Commit

Permalink
fixup! CA-283754: gpumon_interface, do not discard internal errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcello Seri committed Feb 19, 2018
1 parent f136be3 commit a848b05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpumon/gpumon_interface.ml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ exception Gpumon_error of gpu_errors
(** Error handler *)
let gpu_err = Error.{
def = gpu_errors;
raiser = (function | e -> raise (Gpumon_error e));
raiser = (fun e -> raise (Gpumon_error e));
matcher = (function
| Gpumon_error e -> Some e
| e -> Some (Internal_error (Printexc.to_string e)))
Expand Down

0 comments on commit a848b05

Please sign in to comment.