Added rudimental error reporting at saving time