Skip to content

Commit 3282a83

Browse files
committed
generic catch
1 parent 355e500 commit 3282a83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/dart/tests/method.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ try {
1313
{{/match.isPrimitive}}
1414
{{/testResponse}}
1515
print('successfully indexed records!');
16-
} on InterceptionException catch (_) {
17-
// Ignore InterceptionException
16+
} catch(e) {
17+
print('Error: $e');
1818
}

0 commit comments

Comments
 (0)