]> source.dussan.org Git - nextcloud-server.git/commit
Add message to NotSquareException thrown from Avatar
authorOlivier Mehani <shtrom@ssji.net>
Thu, 29 Sep 2016 11:51:07 +0000 (21:51 +1000)
committerMorris Jobke <hey@morrisjobke.de>
Mon, 24 Oct 2016 09:27:27 +0000 (11:27 +0200)
commit19ad058d0676819536953074091d915dfec8e39f
tree6e999b5d9217be06b67961d3f62d6fe3adde9582
parentf054adb4291c83b05777688360780146af5f7d94
Add message to NotSquareException thrown from Avatar

This prevents cryptic messages such as the following, from `user_ldap`:

     Could not set avatar for uid=user,ou=People,dc=example,dc=net, because:

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
Add message to NotPermittedException thrown from Files\Nodes\Folder

Ditto.

Don't use translation macros here as this seems to be pretty low-level
errors that generally get caught and prettified, and I don't want to
unduly clog down the lower layers.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
fixup! Add message to NotPermittedException thrown from Files\Nodes\Folder
lib/private/Avatar.php
lib/private/Files/Node/Folder.php