make error from todoMethod have the correct stack