You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\Log::error("Temporary file written to $tmpname");
83
78
$transliterated = null; //save on memory?
84
79
$newfile = newUploadedFile($tmpname, $file->getClientOriginalName(), null, null, true); //WARNING: this is enabling 'test mode' - which is gross, but otherwise the file won't be treated as 'uploaded'
85
80
if ($newfile->isValid()) {
86
-
\Log::error("new UploadedFile was created");
87
81
$file = $newfile;
88
82
}
89
83
}
@@ -95,7 +89,6 @@ public function store() : JsonResponse
95
89
try {
96
90
$import->header_row = $reader->fetchOne(0);
97
91
} catch (JsonEncodingException$e) {
98
-
\Log::error("cant load header row?");
99
92
returnresponse()->json(
100
93
Helper::formatStandardApiResponse(
101
94
'error',
@@ -122,15 +115,13 @@ public function store() : JsonResponse
0 commit comments