Catching warnings in sentry

Sometimes errors are captured as warning, is there any way to catch these?