From 6e5195ca90490cf18fbf6457d4da70336aded108 Mon Sep 17 00:00:00 2001 From: f Date: Thu, 26 Oct 2023 18:06:43 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20notificar=20la=20excepci=C3=B3n=20correc?= =?UTF-8?q?tamente?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/post.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/post.rb b/app/models/post.rb index 1c535fe0..10153f71 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -31,7 +31,7 @@ class Post def find_layout(path) File.foreach(path).lazy.grep(/^layout: /).take(1).first&.split(' ')&.last&.tr('\'', '')&.tr('"', '')&.to_sym rescue Errno::ENOENT => e - ExceptionNotifier.notify(e) + ExceptionNotifier.notify_exception(e, data: { path: path }) :post end