Added the possibility to log executed SQL statements (DEV mode only)

This commit is contained in:
Bernd Bestel
2023-07-31 17:08:55 +02:00
parent 73ad9d39ab
commit 5d48b02b37
3 changed files with 23 additions and 4 deletions

View File

@@ -509,7 +509,7 @@ class StockService extends BaseService
}
else
{
throw new Exception("Transaction type $transactionType is not valid (StockService.ConsumeProduct)");
throw new \Exception("Transaction type $transactionType is not valid (StockService.ConsumeProduct)");
}
}