Hai everyone,
I use hook 'post_write' from OC_filesystem to trigger my method 'save'
In my method i run some process. When the process failed i want the
owncloud to display error response like it usually does. example :

function in owncloud that emit signal 'post_write'
upload -> error uploading
create new (file) -> error creating file
create new (from Link) -> error downloading file

I have a problem since all function above give JSON error response
differently while i can`t detect which function does run.
I try use JSON error reponse from function upload, but the format can`t be
known by function create new (from Link) and turns out error.

Is there a way to give JSON error response that can`t be known by all
function or any other way?
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to