Basic error logging and better formatting for inline arrays