mirror of
https://github.com/mirage/qubes-mirage-firewall.git
synced 2025-03-03 12:29:15 -05:00
catch exception in IpMap.find
This commit is contained in:
parent
e6fd4e8646
commit
1ad5644553
@ -8,6 +8,7 @@ module IpMap = struct
|
|||||||
let find x map =
|
let find x map =
|
||||||
try Some (find x map)
|
try Some (find x map)
|
||||||
with Not_found -> None
|
with Not_found -> None
|
||||||
|
| e -> Logs.err( fun f -> f "uncaught exception in find...%!"); None
|
||||||
end
|
end
|
||||||
|
|
||||||
(** An Ethernet interface. *)
|
(** An Ethernet interface. *)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user