Skip to content

Commit e49c924

Browse files
committed
Restore normal verbosity level after debug command.
1 parent 38780af commit e49c924

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

analysis/src/Commands.ml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,9 @@ let test ~path =
301301
print_endline
302302
("Debug " ^ path ^ " " ^ string_of_int line ^ ":"
303303
^ string_of_int col);
304-
definition ~path ~line ~col
304+
let res = definition ~path ~line ~col in
305+
Log.spamError := false;
306+
res
305307
| "def" ->
306308
print_endline
307309
("Definition " ^ path ^ " " ^ string_of_int line ^ ":"

0 commit comments

Comments
 (0)