]> source.dussan.org Git - nextcloud-server.git/commit
Use proper exception in lostController 16563/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Fri, 26 Jul 2019 13:21:41 +0000 (15:21 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Sat, 27 Jul 2019 18:12:16 +0000 (20:12 +0200)
commitb6dd2ebd3909017b9a5dbe0e145d6c5041a9043c
tree63a2bdf57168cca766dfadb2d5d1608e2b6ffdf7
parent1ec98af3e028f5aa8591bda26d5dac96dfd66f43
Use proper exception in lostController

There is no need to log the expcetion of most of the stuff here.
We should properly log them but an exception is excessive.

This moves it to a proper exception which we can catch and then log.
The other exceptions will still be fully logged.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
core/Controller/LostController.php
core/Exception/ResetPasswordException.php [new file with mode: 0644]
lib/composer/composer/autoload_classmap.php
lib/composer/composer/autoload_static.php
tests/Core/Controller/LostControllerTest.php