1
0
mirror of https://github.com/Rudloff/alltube.git synced 2024-06-20 06:46:40 +02:00

Add line break after redirect error

This commit is contained in:
Pierre Rudloff 2015-11-22 19:31:38 +01:00
parent 8d3564722e
commit 2289de7418

View File

@ -191,7 +191,7 @@ class FrontController
$app->redirect($video['url']); $app->redirect($video['url']);
} catch (\Exception $e) { } catch (\Exception $e) {
$app->response->headers->set('Content-Type', 'text/plain'); $app->response->headers->set('Content-Type', 'text/plain');
echo $e->getMessage(); echo $e->getMessage().PHP_EOL;
} }
} }
} }