Index: lib/Padre/Wx/Dialog/PluginManager.pm
===================================================================
--- lib/Padre/Wx/Dialog/PluginManager.pm	(revision 12251)
+++ lib/Padre/Wx/Dialog/PluginManager.pm	(working copy)
@@ -292,7 +292,14 @@
 # handler called when the preferences button has been clicked.
 #
 sub button_preferences {
-	$_[0]->{plugin}->object->plugin_preferences;
+	my $self = shift;
+	eval { 
+		$self->{plugin}->object->plugin_preferences;
+	};
+	if ($@) { 
+		$self->{plugin}->errstr( $@ );
+		$self->show_error_message;
+	}
 }
 
 #
