This commit is contained in:
parent
a33022380a
commit
0e8c6e5460
2 changed files with 1 additions and 13 deletions
|
@ -15,7 +15,6 @@ import eu.m724.realweather.commands.AdminCommand;
|
|||
import eu.m724.realweather.commands.GeoCommand;
|
||||
import eu.m724.realweather.commands.LocalTimeCommand;
|
||||
import eu.m724.realweather.commands.LocalWeatherCommand;
|
||||
import eu.m724.realweather.exception.UserError;
|
||||
import eu.m724.realweather.mapper.Mapper;
|
||||
import eu.m724.realweather.mapper.MapperConfig;
|
||||
import eu.m724.realweather.thunder.ThunderConfig;
|
||||
|
@ -109,7 +108,7 @@ public class RealWeatherPlugin extends MStatsPlugin {
|
|||
Configs.updaterConfig = UpdaterConfig.fromConfiguration(configuration.getConfigurationSection("updater"));
|
||||
updater = PluginUpdater.build(this, this.getFile());
|
||||
//updater.init();
|
||||
} catch (UserError | NoSuchProviderException e) {
|
||||
} catch (NoSuchProviderException e) {
|
||||
logger.severe("There's an error in your config:");
|
||||
logger.severe(" " + e.getMessage());
|
||||
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
package eu.m724.realweather.exception;
|
||||
|
||||
public class UserError extends Error {
|
||||
|
||||
private static final long serialVersionUID = 7152429719832602384L;
|
||||
|
||||
public UserError(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue