better diagnostics in case of failures in apache.t