Skip to content

Commit 235ec2d

Browse files
Copilottrevorwang
andauthored
Make Response parameter in ParseErrorLogger optional for backward compatibility (#865)
* Initial plan * Make response parameter in ParseErrorLogger optional for backward compatibility Co-authored-by: trevorwang <121966+trevorwang@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: trevorwang <121966+trevorwang@users.noreply.github.com>
1 parent 340eed9 commit 235ec2d

File tree

6 files changed

+87
-74
lines changed

6 files changed

+87
-74
lines changed

example_dartmappable/lib/example.g.dart

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generator/lib/src/generator.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3752,7 +3752,7 @@ MultipartFile.fromFileSync(i.path,
37523752
child,
37533753
const Code('} on Object catch (e, s) {'),
37543754
const Code(
3755-
'$_errorLoggerVar?.logError(e, s, $_optionsVar, $_resultVar);',
3755+
'$_errorLoggerVar?.logError(e, s, $_optionsVar, response: $_resultVar);',
37563756
),
37573757
const Code('rethrow;'),
37583758
const Code('}'),

0 commit comments

Comments
 (0)