[Commits] [wesnoth/wesnoth-old] f42693: addon/mg: Catch config::error in get_addon_install...

GitHub noreply at github.com
Wed Feb 12 02:32:56 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth-old
  Commit: f426931b138010eae5e592a8dc2bb6321f1d73d8
      https://github.com/wesnoth/wesnoth-old/commit/f426931b138010eae5e592a8dc2bb6321f1d73d8
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2014-02-11 (Tue, 11 Feb 2014)

  Changed paths:
    M changelog
    M src/addon/manager.cpp

  Log Message:
  -----------
  addon/mg: Catch config::error in get_addon_install_info()

config::error is thrown by the parser to signal a parser error, so we
want to catch that so it doesn't go up the stack and cause the game to
display an obscure error message referring to an "<unknown>" WML file or
even crash to desktop.





More information about the Commits mailing list