bondjimbond / islandora_westvault

Automated preservation for Islandora objects
GNU General Public License v3.0
1 stars 1 forks source link

Enforce settings in islandora_bagit #40

Closed bondjimbond closed 5 years ago

bondjimbond commented 5 years ago

Enforces the required configurations from islandora_bagit before the westvault-bagit drush command will complete.

To test:

bondjimbond commented 5 years ago

Addresses #38

bondjimbond commented 5 years ago

@mjordan I'm confident that this works but would like your thoughts on the approach (especially how to log these errors).

mjordan commented 5 years ago

@bondjimbond can you be more specific about "log these errors"? Do you want to log them to a file?

bondjimbond commented 5 years ago

@mjordan It would be nice if they were logged somehow (maybe to the Drupal log?) rather than just the screen, since this Drush command is meant to be run in a cron job.

Perhaps it's just a matter of using WATCHDOG_ERROR?