Skip to content

Commit

Permalink
log the exception in trigger instead of raising
Browse files Browse the repository at this point in the history
  • Loading branch information
Omarabdul3ziz committed Sep 1, 2024
1 parent 7598aaa commit ba6b642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grid-proxy/internal/explorer/db/setup.sql
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ BEGIN
WHERE resources_cache.node_id = NEW.node_id;
EXCEPTION
WHEN OTHERS THEN
RAISE EXCEPTION 'failed calc node_contracts_count %', SQLERRM;
RAISE NOTICE 'failed calc node_contracts_count %', SQLERRM;
END;
END IF;
RETURN NULL;
Expand Down

0 comments on commit ba6b642

Please # to comment.