catching gcm errors