Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /libpp/profile_spec.cpp [6893b5] .. [b12f64] Maximize Restore

  Switch to side-by-side view

--- a/libpp/profile_spec.cpp
+++ b/libpp/profile_spec.cpp
@@ -561,9 +561,10 @@
 
 	if (!found_file) {
 		ostringstream os;
-		os  << "No sample file found: try running opcontrol --dump\n"
-		    << "or specify a session containing sample files\n";
-		throw op_no_samples_exception(os.str());
+		os  << "No sample file found: If using opcontrol for profiling,\n"
+		    << "try running 'opcontrol --dump'; otherwise, specify a session containing\n"
+		    << "sample files.\n";
+		throw op_fatal_error(os.str());
 	}
 
 	list<string> result;