Update log location JobResourceNotFoundException

This commit is contained in:
Dillon Ngo
2024-03-09 21:17:49 +08:00
parent 252636a7df
commit 5565d0b39b
@@ -65,7 +65,7 @@ abstract class AbstractControllerLogic
} catch (ErrorException|GeneralExceptions|TypeError $exception){ } catch (ErrorException|GeneralExceptions|TypeError $exception){
if ($exception instanceof JobResourceNotFoundException) { if ($exception instanceof JobResourceNotFoundException) {
Log::error(sprintf( Log::channel('storage_invoices')->info(sprintf(
"Uncaught exception '%s' with message '%s' in %s:%d", "Uncaught exception '%s' with message '%s' in %s:%d",
get_class($exception), get_class($exception),
$exception->getMessage(), $exception->getMessage(),