mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 08:35:00 +00:00
Fix #
This commit is contained in:
@@ -117,7 +117,7 @@ class AmountFormat extends AbstractExtension
|
|||||||
static function (string $amount, ?string $symbol, ?int $decimalPlaces = null, ?bool $coloured = null): string {
|
static function (string $amount, ?string $symbol, ?int $decimalPlaces = null, ?bool $coloured = null): string {
|
||||||
|
|
||||||
if(null === $symbol) {
|
if(null === $symbol) {
|
||||||
$message = sprintf('formatAmountBySymbol("%s", "%s", %d, %s) was called without a symbol. Please browse to /flush to clear your cache.', $amount,$symbol, $decimalPlaces, var_export($coloured, true));
|
$message = sprintf('formatAmountBySymbol("%s", %s, %d, %s) was called without a symbol. Please browse to /flush to clear your cache.', $amount,var_export($symbol, true), $decimalPlaces, var_export($coloured, true));
|
||||||
Log::error($message);
|
Log::error($message);
|
||||||
throw new FireflyException($message);
|
throw new FireflyException($message);
|
||||||
}
|
}
|
||||||
|
@@ -49,6 +49,19 @@
|
|||||||
<p>
|
<p>
|
||||||
{!! trans('errors.error_location', ['file' => $exception->getFile(), 'line' => $exception->getLine(), 'code' => $exception->getCode() ]) !!}
|
{!! trans('errors.error_location', ['file' => $exception->getFile(), 'line' => $exception->getLine(), 'code' => $exception->getCode() ]) !!}
|
||||||
</p>
|
</p>
|
||||||
|
<h4>
|
||||||
|
{{ trans('errors.github_help') }}
|
||||||
|
</h4>
|
||||||
|
<p>
|
||||||
|
{!! trans('errors.github_instructions') !!}
|
||||||
|
</p>
|
||||||
|
<ol>
|
||||||
|
<li>{{ trans('errors.use_search') }}</li>
|
||||||
|
<li>{!! trans('errors.include_info', ['link' => route('debug') ]) !!}</li>
|
||||||
|
<li>{{ trans('errors.tell_more') }}</li>
|
||||||
|
<li>{{ trans('errors.include_logs') }}</li>
|
||||||
|
<li>{{ trans('errors.what_did_you_do') }}</li>
|
||||||
|
</ol>
|
||||||
<h4>
|
<h4>
|
||||||
{{ trans('errors.stacktrace') }}
|
{{ trans('errors.stacktrace') }}
|
||||||
</h4>
|
</h4>
|
||||||
|
Reference in New Issue
Block a user