[fix] Log the stack not the error so we see a stacktrace in our logs
[fix] Ensure that CSS is correctly included by reversing the parse order.