fix(settings): adjust source maps setup check wording and log level

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
pull/44022/head
John Molakvoæ 2 years ago committed by John Molakvoæ (skjnldsv)
parent f0494e2b5a
commit a6a962d5a2
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
  1. 4
      apps/settings/lib/SetupChecks/JavaScriptSourceMaps.php

@ -53,7 +53,7 @@ class JavaScriptSourceMaps implements ISetupCheck {
}
public function getName(): string {
return $this->l10n->t('JavaScript Source Maps support');
return $this->l10n->t('JavaScript source map support');
}
public function run(): SetupResult {
@ -63,6 +63,6 @@ class JavaScriptSourceMaps implements ISetupCheck {
return SetupResult::success();
}
return SetupResult::error($this->l10n->t('Your webserver is not set up to serve `.js.map` files. Without these files, JavaScript Source Maps won\'t function properly, making it more challenging to troubleshoot and debug any issues that may arise.'));
return SetupResult::warning($this->l10n->t('Your webserver is not set up to serve `.js.map` files. Without these files, JavaScript Source Maps won\'t function properly, making it more challenging to troubleshoot and debug any issues that may arise.'));
}
}

Loading…
Cancel
Save