Skip to content

Commit 17a35bc

Browse files
committed
register event
1 parent 4dee75d commit 17a35bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ErrorMailerServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function register()
2525
'error-mailer:publish-config',
2626
]);
2727

28-
Event::subscribe(NotifyAdminOfError::class);
28+
$this->app->register(EventServiceProvider::class);
2929
}
3030

3131
public function boot()

0 commit comments

Comments
 (0)