|
@@ -165,11 +165,11 @@ discard block |
|
|
block discarded – undo |
|
165
|
165
|
try { |
|
166
|
166
|
$cover = $doc->storeCover($request->url); |
|
167
|
167
|
} catch (\ErrorException $e) { |
|
168
|
|
- \Log::error('Failed to cache cover ' . $request->url . '. Got error: ' . $e->getMessage()); |
|
|
168
|
+ \Log::error('Failed to cache cover '.$request->url.'. Got error: '.$e->getMessage()); |
|
169
|
169
|
|
|
170
|
170
|
return response()->json([ |
|
171
|
171
|
'result' => 'error', |
|
172
|
|
- 'error' => 'Failed to store the cover. Please check that the URL points to a valid image file. Details: ' . $e->getMessage(), |
|
|
172
|
+ 'error' => 'Failed to store the cover. Please check that the URL points to a valid image file. Details: '.$e->getMessage(), |
|
173
|
173
|
]); |
|
174
|
174
|
} |
|
175
|
175
|
|
|
@@ -204,7 +204,7 @@ discard block |
|
|
block discarded – undo |
|
204
|
204
|
]; |
|
205
|
205
|
$doc->save(); |
|
206
|
206
|
|
|
207
|
|
- \Log::info('Stored new description for ' . $doc->id); |
|
|
207
|
+ \Log::info('Stored new description for '.$doc->id); |
|
208
|
208
|
|
|
209
|
209
|
$se->indexById($doc->id); |
|
210
|
210
|
|
Please login to merge, or discard this patch.