Skip to content
Snippets Groups Projects
Commit b9b7f886 authored by vjrj's avatar vjrj
Browse files

Capture message instead of exception

parent 0af483df
No related branches found
No related tags found
No related merge requests found
......@@ -544,8 +544,9 @@ Future<T?> gvaFunctionWrapper<T>(
final T? result = await specificFunction(gva);
return result;
}
} catch (e, stacktrace) {
await Sentry.captureException(e, stackTrace: stacktrace);
} catch (e) {
await Sentry.captureMessage(
'Error trying to use gva node ${node.url} $e');
logger('Error trying ${node.url} $e');
logger('Increasing node errors of ${node.url} (${node.errors})');
NodeManager()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment