Committed by
David PHAM-VAN
Update call to FlutterErrorDetails to use a DignosticsNode instead of string
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -57,7 +57,7 @@ Future<PdfImage> pdfImageFromImageProvider( | @@ -57,7 +57,7 @@ Future<PdfImage> pdfImageFromImageProvider( | ||
57 | onError(exception, stackTrace); | 57 | onError(exception, stackTrace); |
58 | } else { | 58 | } else { |
59 | FlutterError.reportError(FlutterErrorDetails( | 59 | FlutterError.reportError(FlutterErrorDetails( |
60 | - context: 'image failed to load', | 60 | + context: DiagnosticsNode.message('image failed to load'), |
61 | library: 'printing', | 61 | library: 'printing', |
62 | exception: exception, | 62 | exception: exception, |
63 | stack: stackTrace, | 63 | stack: stackTrace, |
-
Please register or login to post a comment