Try to check error from subprocess