minor fix to error forwarding

Fixes #283.