3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-06 19:35:44 +00:00

Switched back down to debug level

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe
2021-10-06 12:38:21 -07:00
parent f306401e7e
commit ccd430ce07
2 changed files with 7 additions and 8 deletions

View File

@ -47,8 +47,8 @@ class UserFilesController extends Controller
// Check for SVG and sanitize it
if ($extension == 'svg') {
\Log::error('This is an SVG');
\Log::error($file_name);
\Log::debug('This is an SVG');
\Log::debug($file_name);
$sanitizer = new Sanitizer();
$dirtySVG = file_get_contents($file->getRealPath());
@ -57,7 +57,7 @@ class UserFilesController extends Controller
try {
Storage::put('private_uploads/users/'.$file_name, $cleanSVG);
} catch (\Exception $e) {
\Log::error('Upload no workie :( ');
\Log::debug('Upload no workie :( ');
\Log::debug($e);
}