782e5864

By: Michael Lynch <git@mtlynch.io>

Preserve used-token errors when session lookup fails

A failed session lookup cannot establish that the current user owns the
replayed magic link. Return the original used-token error instead of replacing
it with the session error.

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 2s 11s 11s 13s 2s
Eval 10s 43s 43s 53s 0s
Build 46s 0s 2s 49s 0s
Suite 2s 54s 51s 53s 2s

Timeline

0s10s20s30s40s50s