Adds custom error for 404 Template not found

[#83949834]