Ouch!! It seems that static/404.html.pug or static/404.html.haml or static/404.html.php doesn't exist!
static/404.html.pug
static/404.html.haml
static/404.html.php