#1090: fix missing graph error reporting

This fixes #1090.