fix(notifications): handle none configured image uploader

ref #6152
This commit is contained in:
bergquist 2016-09-29 14:31:19 +02:00
parent 88ec307f3e
commit 1a062c52fa

View File

@ -62,7 +62,10 @@ func (n *RootNotifier) sendNotifications(notifiers []Notifier, context *EvalCont
}
func (n *RootNotifier) uploadImage(context *EvalContext) (err error) {
uploader, _ := imguploader.NewImageUploader()
uploader, err := imguploader.NewImageUploader()
if err != nil {
return err
}
renderOpts := &renderer.RenderOpts{
Width: "800",