commit 9b619c11288600b7aa4e1770658deff3b9a9fe97 parent 5f97cb4aae6c893a7cc4e079bd84275d3f4a4c9a Author: cfillion <cfillion@users.noreply.github.com> Date: Tue, 8 Mar 2016 03:16:14 -0500 import: enhance the "download failed" error message Diffstat:
M | src/import.cpp | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/import.cpp b/src/import.cpp @@ -109,7 +109,8 @@ void Import::fetch() setWaiting(false); if(state != Download::Success) { - ShowMessageBox(dl->contents().c_str(), "Download Failed", MB_OK); + const string msg = "Download failed: " + dl->contents(); + ShowMessageBox(msg.c_str(), TITLE, MB_OK); SetFocus(m_url); return; }