diff --git a/kivy/core/window/window_pygame.py b/kivy/core/window/window_pygame.py index a2e76e1e0..b8b2858ea 100644 --- a/kivy/core/window/window_pygame.py +++ b/kivy/core/window/window_pygame.py @@ -105,7 +105,7 @@ class WindowPygame(WindowBase): # try to use mode with multisamples try: self._pygame_set_mode() - except pygame.error: + except pygame.error, e: if multisamples: Logger.warning('WinPygame: Video: failed (multisamples=%d)' % multisamples) @@ -118,8 +118,7 @@ class WindowPygame(WindowBase): except pygame.error, e: raise CoreCriticalException(e.message) else: - Logger.warning('WinPygame: Video setup failed :-(') - raise + raise CoreCriticalException(e.message) super(WindowPygame, self).create_window()