View failed hooks

Hi - is there a way to view a log of some sort to see what error/failure messages may have been returned via the callback made by hook scripts? I am finding it hard to troubleshoot an issue as can’t see why something is failing to hook.

Anybody?

If an an app returns data to the x-error (or x-success) hookmark urls is there somewhere that we as users can see this? i.e. how do we see what error message is returned?

@LucB - are you able to advise? testing out Hookmark and trying to get 2 of my most used apps set up for use but having trouble. How can i see what is working / not working? should there be an alert from hookmark if an x-error is returned? or a log somewhere that i can access?

You can copy and paste the following command in /Applications/Utilities/Terminal, then hit enter:

defaults write com.cogsciapps.hook output.log.to.file 1

Then restart Hookmark. You can find the file in /Users/Your User Name/Library/Logs/com.cogsciapps.hook/

Thank you

Thanks for your reply @bchend -

That log though seems to just be for the app itself. It doesn’t seem to capture any script interactions (success or error).

I’d assume that Hookmark does something when an x-error is returned (i.e. via hook://x-callback-url/link-to-new-error). Where would i find these?