[Owncloud] trigger_error - not reporting errors

Victor Dubiniuk victor.dubiniuk at gmail.com
Thu Oct 18 09:06:52 UTC 2012


Hi Sam,


It was me probably. Since low-level errors have no sense for the end user
it is written to the log file instead.

The commit is
https://github.com/owncloud/core/commit/ddcd7383574db2d076def39cfb130b8a4bf0180c

You can use  throw new Exception('foo'); instead of trigger_error('foo');
for debugging. It should work as you expect.

---

Victor
On Oct 17, 2012 4:03 PM, "Sam Tuke" <samtuke at owncloud.com> wrote:

> Since I merged master into my branch (files_encryption),
>
> trigger_error('foo);
>
>  is no longer triggering any errors.
>
> Any ideas who changed what to result in this odd behaviour? It makes
> debugging
> 3rd party code even harder than usual.
>
> Thanks,
>
> Sam.
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20121018/4c072df4/attachment.html>


More information about the Owncloud mailing list