diff --git a/lib/sass/engine.rb b/lib/sass/engine.rb
index <HASH>..<HASH> 100644
--- a/lib/sass/engine.rb
+++ b/lib/sass/engine.rb
@@ -440,15 +440,9 @@ END
 
       new_filename = find_full_path("#{filename}.sass", load_paths)
 
-      if new_filename.nil?
-        if was_sass
-          raise Exception.new("File to import not found or unreadable: #{original_filename}.")
-        else
-          return filename + '.css'
-        end
-      else
-        new_filename
-      end
+      return new_filename if new_filename
+      return filename + '.css' unless was_sass
+      raise SyntaxError.new("File to import not found or unreadable: #{original_filename}.", @line)
     end
 
     def self.find_full_path(filename, load_paths)
Sass::Engine should raise a syntax error when it can't find a file to @import.