mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-03 20:14:31 +00:00
More debug info.
This commit is contained in:
@@ -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());
|
||||
|
||||
@@ -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');
|
||||
|
||||
|
||||
@@ -55,6 +55,7 @@ class IndexController extends Controller
|
||||
public function index()
|
||||
{
|
||||
Log::channel('audit')->info('User visits webhook index page.');
|
||||
|
||||
return view('webhooks.index');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -339,7 +339,6 @@ class Steam
|
||||
*/
|
||||
public function balanceConverted(Account $account, Carbon $date, TransactionCurrency $native): string
|
||||
{
|
||||
app('log')->debug(sprintf('Now in balanceConverted (%s) for account #%d, converting to %s', $date->format('Y-m-d'), $account->id, $native->code));
|
||||
$cache = new CacheProperties();
|
||||
$cache->addProperty($account->id);
|
||||
$cache->addProperty('balance');
|
||||
@@ -359,6 +358,7 @@ class Steam
|
||||
// Log::debug('No conversion necessary!');
|
||||
return $this->balance($account, $date);
|
||||
}
|
||||
app('log')->info(sprintf('Now in balanceConverted (%s) for account #%d, converting to %s', $date->format('Y-m-d'), $account->id, $native->code));
|
||||
|
||||
$new = [];
|
||||
$existing = [];
|
||||
|
||||
Reference in New Issue
Block a user