Skip to content

Commit bd6e9c6

Browse files
committed
Session username in email subject (minor)
1 parent 7f93507 commit bd6e9c6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/ErrorHandler.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,9 +314,7 @@ public function emailException(\Throwable $exception)
314314
}
315315
}
316316

317-
$subject = sprintf('Error: %s', $exception->getMessage());
318-
$subject = sprintf('%s%s: %s',
319-
'Error',
317+
$subject = sprintf('Error%s: %s',
320318
$username ? sprintf(' [%s]', $username) : '',
321319
$exception->getMessage()
322320
);

0 commit comments

Comments
 (0)