|
@@ -152,11 +152,11 @@ discard block |
|
|
block discarded – undo |
|
152
|
152
|
try { |
|
153
|
153
|
$cover = $doc->storeCover($request->url); |
|
154
|
154
|
} catch (\ErrorException $e) { |
|
155
|
|
- \Log::error('Failed to cache cover ' . $request->url . '. Got error: ' . $e->getMessage()); |
|
|
155
|
+ \Log::error('Failed to cache cover '.$request->url.'. Got error: '.$e->getMessage()); |
|
156
|
156
|
|
|
157
|
157
|
return response()->json([ |
|
158
|
158
|
'result' => 'error', |
|
159
|
|
- 'error' => 'Failed to store the cover. Please check that the URL points to a valid image file. Details: ' . $e->getMessage(), |
|
|
159
|
+ 'error' => 'Failed to store the cover. Please check that the URL points to a valid image file. Details: '.$e->getMessage(), |
|
160
|
160
|
]); |
|
161
|
161
|
} |
|
162
|
162
|
|
|
@@ -190,7 +190,7 @@ discard block |
|
|
block discarded – undo |
|
190
|
190
|
]; |
|
191
|
191
|
$doc->save(); |
|
192
|
192
|
|
|
193
|
|
- \Log::info('Stored new description for ' . $document_id); |
|
|
193
|
+ \Log::info('Stored new description for '.$document_id); |
|
194
|
194
|
|
|
195
|
195
|
$se->indexById($document_id); |
|
196
|
196
|
|
Please login to merge, or discard this patch.