Detect integration errors and add appropriate css class to integration