Less indirection in pc state callbacks
Save errors to log