Needs work
Project:
FeedAPI
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Apr 2008 at 18:38 UTC
Updated:
12 Jun 2008 at 15:57 UTC
Jump to comment: Most recent file
Comments
Comment #1
roychri commentedOoops. Wrong version. This is for 5.x
Comment #2
roychri commentedThis patch calls watchdog() and creates a new hook called hook_feedapi_error().
So if I want something special to happen on error, I simply have to create
Since this only fires on error, which should not happen often, the extra overhead of the hook will not slow the application down.
What do you think?
Comment #3
mustafau commentedI think a hook is not necessary. A watchdog call should be enough.
Comment #4
roychri commentedWithout the hook, how can I have it send me an email when it fails?
That's one of our requirement and I would rather having to avoid changing the code of feedapi for my project.
Since this hook is only run on error, it would not pose any significant performance problems.
Let me know.