Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Send an email when an update fails #42

Open
jimaek opened this issue Nov 27, 2014 · 2 comments
Open

Send an email when an update fails #42

jimaek opened this issue Nov 27, 2014 · 2 comments

Comments

@jimaek
Copy link
Member

jimaek commented Nov 27, 2014

For example chartist changed their structure and libgrabber stopped updating it.
The only way to see the problem is to read the logs

info: Updating chartist.js to v0.4.3
info: Copied 0 files name=chartist.js, version=v0.4.3, files=[]
warn: Something might be wrong with update.json name=chartist.js, version=v0.4.3

an other example

error: Error in reading metadata file /home/jsdelivr/files/underscore.string/update.json
warn: Failed to read metadata metadataPath=/home/jsdelivr/files/underscore.string/update.json,
error: Failed to update project /home/jsdelivr/files/underscore.string/update.json
error: Failed to update project

There needs to be a way to automatically notify the admin via email about a library that fails to update

@jimaek jimaek changed the title Send an email when a library fails Send an email when an update fails Nov 27, 2014
@megawac
Copy link
Contributor

megawac commented Jun 29, 2015

Alternatively ould also send a notification to gitter

@jimaek
Copy link
Member Author

jimaek commented Jun 30, 2015

Yes that sounds better. This way anyone can fix it

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants