Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Radarr/commit/a86c131761d6040fe8ed23be878bf7ec783f4247
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
15 additions and
4 deletions
@ -0,0 +1,12 @@
namespace NzbDrone.Common.Messaging
{
public class CommandExecutedEvent : IEvent
{
public ICommand Command { get ; private set ; }
public CommandExecutedEvent ( ICommand command )
{
Command = command ;
}
}
}
@ -1,10 +1,10 @@
namespace NzbDrone.Common.Messaging
{
public class Command Execu tedEvent : IEvent
public class Command Star tedEvent : IEvent
{
public ICommand Command { get ; private set ; }
public Command Execu tedEvent( ICommand command )
public Command Star tedEvent( ICommand command )
{
Command = command ;
}
@ -60,7 +60,6 @@ namespace NzbDrone.Common.Messaging
}
}
private static string GetEventName ( Type eventType )
{
if ( ! eventType . IsGenericType )
@ -71,7 +70,6 @@ namespace NzbDrone.Common.Messaging
return string . Format ( "{0}<{1}>" , eventType . Name . Remove ( eventType . Name . IndexOf ( '`' ) ) , eventType . GetGenericArguments ( ) [ 0 ] . Name ) ;
}
public void PublishCommand < TCommand > ( TCommand command ) where TCommand : class , ICommand
{
Ensure . That ( ( ) = > command ) . IsNotNull ( ) ;
@ -88,6 +86,7 @@ namespace NzbDrone.Common.Messaging
try
{
PublishEvent ( new CommandStartedEvent ( command ) ) ;
handler . Execute ( command ) ;
sw . Stop ( ) ;
PublishEvent ( new CommandCompletedEvent ( command ) ) ;