diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2019-03-29 16:35:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-29 16:35:49 +0100 |
commit | 839b8d42cae1c900aa5029ddd0399415cf1b32da (patch) | |
tree | 34e1810024dab32b4663e886ec07f2ae2a77e896 /actionview/lib/action_view/renderer | |
parent | da2c92377c7f36469e56dc25a4ac0604157ac778 (diff) | |
parent | 12701d5a46e378f216398d72c91c40f5da1bccd7 (diff) | |
download | rails-839b8d42cae1c900aa5029ddd0399415cf1b32da.tar.gz rails-839b8d42cae1c900aa5029ddd0399415cf1b32da.tar.bz2 rails-839b8d42cae1c900aa5029ddd0399415cf1b32da.zip |
Merge pull request #35788 from prathamesh-sonpatki/fix-annotate-typo
Fix annotated typo
Diffstat (limited to 'actionview/lib/action_view/renderer')
-rw-r--r-- | actionview/lib/action_view/renderer/streaming_template_renderer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/renderer/streaming_template_renderer.rb b/actionview/lib/action_view/renderer/streaming_template_renderer.rb index 279ef3c680..19fa399e2c 100644 --- a/actionview/lib/action_view/renderer/streaming_template_renderer.rb +++ b/actionview/lib/action_view/renderer/streaming_template_renderer.rb @@ -34,7 +34,7 @@ module ActionView return unless logger message = +"\n#{exception.class} (#{exception.message}):\n" - message << exception.annoted_source_code.to_s if exception.respond_to?(:annoted_source_code) + message << exception.annotated_source_code.to_s if exception.respond_to?(:annotated_source_code) message << " " << exception.backtrace.join("\n ") logger.fatal("#{message}\n\n") end |