Skip to content

Commit

Permalink
Resolves #266, fixed syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Tuttle committed Mar 3, 2015
1 parent 329a1ad commit f992792
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dashboard/dashboard.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,10 @@

<cfset local.err = application._taffy.status.skippedResources[local.i] />
<cfset local.exceptionHasErrorCode = structKeyExists(local.err, "Exception") AND structKeyExists(local.err.Exception, "ErrorCode")>
<cfset local.errorCode = local.exceptionHasErrorCode and local.err.Exception.ErrorCode>
<cfset local.errorCode = "" />
<cfif local.exceptionHasErrorCode>
<cfset local.errorCode = local.err.Exception.ErrorCode>
</cfif>

<div class="alert alert-warning">
<cfif local.errorCode EQ "taffy.resources.DuplicateUriPattern">
Expand Down

0 comments on commit f992792

Please sign in to comment.