-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/sc-31614 #71
base: master
Are you sure you want to change the base?
Feat/sc-31614 #71
Conversation
htdocs/wp-content/themes/hollandskroon/src/Commands/PronamicIdealCommand.php
Outdated
Show resolved
Hide resolved
htdocs/wp-content/themes/hollandskroon/src/Commands/PronamicIdealCommand.php
Outdated
Show resolved
Hide resolved
htdocs/wp-content/themes/hollandskroon/src/Commands/PronamicIdealCommand.php
Outdated
Show resolved
Hide resolved
htdocs/wp-content/themes/hollandskroon/src/Commands/PronamicIdealCommand.php
Outdated
Show resolved
Hide resolved
05c949c
to
57ddafd
Compare
57ddafd
to
623a9ef
Compare
623a9ef
to
00f152b
Compare
htdocs/wp-content/themes/hollandskroon/src/Commands/PronamicIdealCleanupCommand.php
Show resolved
Hide resolved
htdocs/wp-content/themes/hollandskroon/src/Commands/PronamicIdealCleanupCommand.php
Show resolved
Hide resolved
htdocs/wp-content/themes/hollandskroon/src/Commands/PronamicIdealCleanupCommand.php
Show resolved
Hide resolved
(new HK\Providers\CommandServiceProvider())->boot(); | ||
} catch (Exception $e) { | ||
// Log error. | ||
error_log('Error booting CommandServiceProvider: ' . $e->getMessage()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dit is denk ik niet wat je wilt. Exceptions vang je alleen af wanneer je de error situatie kunt oplossen waarna je veilig door kunt. Ik zou zeggen: Laat die exception lekker over aan de exception handler van Fusion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...en bij gebrek aan Fusion... aan de exception handler van WP.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ik zou hem dit geval wel afvangen omdat anders de hele site eruit ligt. Aan de andere kant zie ik de serviceprovider in deze opzet geen exceptie gooien.
De afhandeling zou wel beter in serviceprovider passen.
Wellicht zit hier nog een oplossing in en anders in de package/plugin die Dik aan het maken is?
Add a pronamic:cleanup command to invoke with crontab every day to remove fulfilled payments older than 5 days