better error message for #3286

@andrewmacp 3286