More debug info.

This commit is contained in:
James Cole
2023-12-29 08:25:01 +01:00
parent c08d44ea48
commit c16f7d214f
6 changed files with 25 additions and 22 deletions

View File

@@ -120,6 +120,7 @@ class ShowController extends Controller
{
app('log')->debug(sprintf('Now in triggerTransaction(%d, %d)', $webhook->id, $group->id));
Log::channel('audit')->info(sprintf('User triggers webhook #%d on transaction group #%d.', $webhook->id, $group->id));
/** @var MessageGeneratorInterface $engine */
$engine = app(MessageGeneratorInterface::class);
$engine->setUser(auth()->user());

View File

@@ -78,6 +78,7 @@ class CategoryController extends Controller
public function dashboard(DateRequest $request): JsonResponse
{
Log::info(sprintf('Created new ExchangeRateConverter in %s', __METHOD__));
/** @var Carbon $start */
$start = $this->parameters->get('start');